export const version = "1.0.0"
export const baseURL = "/baseapi"
export const token = "TOKEN"
export const PHONENUMBER = "PHONENUMBER"
export const TIMETAMP = "TIMETAMP"
export const codeTimestamp = "CODETIMESTAMP"
export const userinfo = "USERINFO"
export const headName = 'admin-token';
export const temperature = 'TEMPERATURE';
export const appid = "wx59565a53be0883a6"
export const appName = "收据通"
export const API_HOST = ''; // 测试服
export const SIGNATURE = 'eselina.2024_08'; // 测试服

export const baseUrl = import.meta.env.VITE_BASE_URL; // 七牛云对象存储图片地址
export const indexBaseUrl = baseUrl + 'index/'; // 七牛云对象存储图片地址-首页
export const mineBaseUrl = baseUrl + 'mine/'; // 七牛云对象存储图片地址-我的
export const billBaseUrl = baseUrl + 'bill/'; // 七牛云对象存储图片地址-账单
export const planBaseUrl = baseUrl + 'plan/'; // 七牛云对象存储图片地址-行程
export const UPLOAD_FILE_HOST = import.meta.env.VITE_QN_ASSET_URL; // 服务器用户上传文件地址

// 收据通对象存储地址
export const receiptIndexBaseUrl = "https://static-book.kaying.cc/" + 'receipt/index/'; // 七牛云对象存储图片地址-首页
export const woodMineBaseUrl = "https://static-book.kaying.cc/" + 'wood/mine/'; // 七牛云对象存储图片地址-我的
export const receiptStaticBaseUrl = "/static/image/index/"; // APP首页静态文件图标

export const wxMiniId = 'gh_cfbd4f89e727'
export const webUrl = 'https://kaying.cc/shoujutong.html'

export const billStaticBaseUrl = '/static/image/bill/'; // 本地保存选中时的图标

export const share_maintain_url = 'https://system.banshouhui.com/receipt/maintainqrcode' // pages/receipt/show二维码地址
export const share_index_url = 'https://system.banshouhui.com/receipt/indexqrcode' // pages/index/index二维码地址

export const whiteList = ['/pages/index/index', '/pages/index/receipt-record/receipt-record', '/pages/index/contract/contract',
	'/pages/index/mine/mine', '/pages/login/login', '/pages/login/quick-login/quick-login',
	'/pages/login/binding-phone/binding-phone', '/pages/login/agreement/agreement', '/pages/mine/about/about', '/pages/receipt/show','/pages/mine/service/service','/pages/receipt/signature','/pages/mine/help/help','/pages/mine/help/help-detail'
]; // 路由白名单

export const needSignList = ['/pages/index/index', '/user/register.php', '/user/login.php',
	'/user/login/codelogin.php', '/user/verifycode.php'
]; // 路由白名单

export const responseWhiteList = ['/user/verifycode.php', '/rest/repair/export', '/rest/exchangeCode/check',
	'/rest/exchangeCode/exchange','/rest/project/record/export'
]; // 请求URL白名单,此名单内的请求不作状态码判断,在resolve中直接返回

// 订阅
export const sceneOptions = {
	trip: "TRIP",
	withdrawal:'WITHDRAWAL'
}
export const loginInfo = {
	"account": "",
	"authType": "",
	"avatar": "",
	"code": "",
	"encryptedData": "",
	"iv": "",
	"loginChannel": "",
	"nickname": "",
	"openId": "",
	"password": "",
	"unionId": "",
}
